#ifndef BOARD_H
#define BOARD_H

#include <vector>
#include <string>

enum class Piece { EMPTY, BLACK, WHITE };

class Board {
private:
    static const int SIZE = 15;
    std::vector<std::vector<Piece>> grid;
    Piece currentPlayer;

public:
    Board();
    void initialize();
    bool placePiece(int x, int y, Piece piece);
    bool isValidMove(int x, int y) const;
    bool checkWin(int x, int y) const;
    bool isFull() const;
    void display() const;
    Piece getCurrentPlayer() const;
    void switchPlayer();
    int getSize() const;
    Piece getPiece(int x, int y) const;
};

#endif